Skip to content

YDB support in SQLC #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

1NepuNep1
Copy link
Collaborator

@1NepuNep1 1NepuNep1 commented Mar 11, 2025

Поддержанные YQL-конструкции

  • pragma_stmt
  • select_stmt
  • named_nodes_stmt
  • create_table_stmt
  • drop_table_stmt
  • use_stmt
  • into_table_stmt
  • commit_stmt
  • update_stmt
  • delete_stmt
  • rollback_stmt
  • declare_stmt
  • import_stmt
  • export_stmt
  • alter_table_stmt
  • alter_external_table_stmt
  • do_stmt
  • define_action_or_subquery_stmt
  • if_stmt
  • for_stmt
  • values_stmt
  • create_user_stmt
  • alter_user_stmt
  • create_group_stmt
  • alter_group_stmt
  • drop_role_stmt
  • create_object_stmt
  • alter_object_stmt
  • drop_object_stmt
  • create_external_data_source_stmt
  • alter_external_data_source_stmt
  • drop_external_data_source_stmt
  • create_replication_stmt
  • drop_replication_stmt
  • create_topic_stmt
  • alter_topic_stmt
  • drop_topic_stmt
  • grant_permissions_stmt
  • revoke_permissions_stmt
  • alter_table_store_stmt
  • upsert_object_stmt
  • create_view_stmt
  • drop_view_stmt
  • alter_replication_stmt
  • create_resource_pool_stmt
  • alter_resource_pool_stmt
  • drop_resource_pool_stmt
  • create_backup_collection_stmt
  • alter_backup_collection_stmt
  • drop_backup_collection_stmt
  • analyze_stmt
  • create_resource_pool_classifier_stmt
  • alter_resource_pool_classifier_stmt
  • drop_resource_pool_classifier_stmt
  • backup_stmt
  • restore_stmt
  • alter_sequence_stmt
  • create_transfer_stmt
  • alter_transfer_stmt
  • drop_transfer_stmt
  • alter_database_stmt
  • show_create_table_stmt

@1NepuNep1 1NepuNep1 force-pushed the yql-support branch 2 times, most recently from cc8779a to 08121ec Compare April 22, 2025 17:31
1NepuNep1 and others added 9 commits May 21, 2025 02:18
… integration

- Added reserved keywords and parsing logic
- CREATE TABLE support and tests
- SELECT initial support and tests
- Initial YDB engine integration and examples
…y with 2 updates (sqlc-dev#3941)

Bumps the production-dependencies group with 2 updates in the / directory: [github.com/google/cel-go](https://github.com/google/cel-go) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).

Updates `github.com/google/cel-go` from 0.24.1 to 0.25.0
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.24.1...v0.25.0)

Updates `google.golang.org/grpc` from 1.71.1 to 1.72.0
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.71.1...v1.72.0)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the production-dependencies group in /docs with 1 update: [packaging](https://github.com/pypa/packaging).


Updates `packaging` from 24.2 to 25.0
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@24.2...25.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '25.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
USE ...
PRAGMA
CREATE USER
CREATE GROUP
COMMIT
RESTORE

also added some new tests and debugged old code for mistakes
@asmyasnikov asmyasnikov marked this pull request as ready for review May 27, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant